﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Administration.aspx.cs" Inherits="Administration" Title="Administration" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .styleA1
        {
            width: 756px;
        }
        .style4
        {
            width: 259px;
            text-align: center;
            font-family: Georgia;
            color: #660066;
        }
        .styleA145
        {
            font-family: Georgia;
            font-size: large;
            font-weight: bold;
            color: #0066FF;
        }
        .style6
        {
            width: 471px;
        }
        .style7
        {
            width: 93px;
            font-family: Georgia;
            color: #660066;
            text-align: center;
        }
        .style8
        {
            width: 234px;
            height: 128px;
            text-align: center;
            font-family: Georgia;
            color: #660066;
        }
        .style9
        {
            height: 128px;
            text-align: left;
        }
        .style10
        {
            width: 234px;
            text-align: center;
            font-family: Georgia;
            color: #660066;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <p class="styleA145">Administration - Add New Users and Categories</p>
                
                    <asp:Label ID="lblMessage" runat="server"></asp:Label>
               
               
    <table class="styleA1" border="1 px" cellpadding="8" cellspacing="0">
        <tr>
            <td class="style8" bgcolor="#FF6699">
                New User (To Assign Issues To)</td>
                        <td class="style9">
                            <table class="style6">
                                <tr>
                                    <td class="style7">
                                        Username</td>
                                    <td style="text-align: left">
                            <asp:TextBox ID="txtUname" runat="server" Width="150px" ValidationGroup="user"></asp:TextBox>
                                        &nbsp;
                                        <asp:RequiredFieldValidator ID="valUname" runat="server" 
                                            ControlToValidate="txtUname" Display="Dynamic" 
                                            ErrorMessage="Username is required" ValidationGroup="user"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style7">
                                        First Name</td>
                                    <td style="text-align: left">
                                        <asp:TextBox ID="txtFname" runat="server" Width="150px" ValidationGroup="user"></asp:TextBox>
                                        &nbsp;
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                            ControlToValidate="txtFname" ErrorMessage="First Name is required" 
                                            ValidationGroup="user"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style7">
                                        Last Name</td>
                                    <td style="text-align: left">
                                        <asp:TextBox ID="txtLname" runat="server" Width="150px" ValidationGroup="user"></asp:TextBox>
                                        &nbsp;
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                            ControlToValidate="txtLname" ErrorMessage="Last Name is required" 
                                            ValidationGroup="user"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                            <asp:Button ID="btnNewUser" runat="server" Text="Add" 
                                onclick="btnNewUser_Click" style="text-align: center" ValidationGroup="user" 
                                Width="55px" />
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td class="style10" bgcolor="#FFCCFF">
                            New Issue Category</td>
                        <td>
                            <asp:TextBox ID="txtNewCategory" runat="server" Width="244px" 
                                ValidationGroup="category"></asp:TextBox>
                            <asp:Button ID="btnNewCategory" runat="server" Text="Add" 
                                onclick="btnNewCategory_Click" ValidationGroup="category" />
                            &nbsp;
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                ControlToValidate="txtNewCategory" Display="Dynamic" 
                                ErrorMessage="Category is required" ValidationGroup="category"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    </table>
</asp:Content>

